package com.gxa.sideParking.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2022-10-05
 */
@Getter
@Setter
@TableName("tb_car")
@ApiModel(value = "Car对象", description = "")
public class Car implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id自增")
      @TableId(value = "car_id", type = IdType.AUTO)
    private Long carId;

    @ApiModelProperty("车牌号码")
    private String carNum;

    @ApiModelProperty("车牌类型")
    private String carTitle;

    @ApiModelProperty("所属用户")
    private String userNickName;

    @ApiModelProperty("订单数量")
    private Integer carOrderNum;

    @ApiModelProperty("未支付订单")
    private Integer carUnpaidOrder;

    @ApiModelProperty("消费金额")
    private BigDecimal carAmount;

    @ApiModelProperty("待支付金额")
    private BigDecimal carPaid;

    @ApiModelProperty("创建时间")
    private LocalDateTime carDate;

    @ApiModelProperty("1:禁止，2：启用")
    private Integer carForbidden;

    @ApiModelProperty("1:绑定，2：解除绑定")
    private Integer carStatus;

    @ApiModelProperty("删除状态（1未删除，2已删除）")
    private Integer carDel;


}
